package com.ccp.dev.qbdms.model;

import com.ccp.dev.core.basic.model.BaseModel;
import com.ccp.dev.qbdms.expimp.annotation.ExpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.FlowSubject;
import com.ccp.dev.qbdms.expimp.annotation.ImpAnnotation;

import java.math.BigDecimal;

/**
 * 奖惩金额分配表 w_rewards_money_allocation
 *
 * @author hw
 * @date 2020-05-25 15:16:44
 */
@ExpAnnotation(description = "奖惩金额分配")
@ImpAnnotation(description = "奖惩金额分配")
public class WRewardsMoneyAllocation  extends BaseModel<WRewardsMoneyAllocation> {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    private String id;
    /**
     * 飞行试验奖惩项目管理表主键
     */
    private String refId;
    /**
     * 奖惩单位名称编码
     */
    @ImpAnnotation(description = "奖惩单位名称",isRequired = true)
    private String rewardsUnitName;
    /**
     * 奖惩单位名称
     */
    @ExpAnnotation(description = "奖惩单位名称")
    @ImpAnnotation(description = "奖惩单位名称",isRequired = true)
    private String rewardsUnitCodeName;
    /**
     * 单位类别
     */
    @ExpAnnotation(description = "单位类别")
    @ImpAnnotation(description = "单位类别",isRequired = true)
    private String unitCategory;
    /**
     * 配套关系级别
     */
    @ExpAnnotation(description = "配套关系级别")
    @ImpAnnotation(description = "配套关系级别")
    private String supportingRelationshipLevel;
    /**
     * 配套产品名称
     */
    @ExpAnnotation(description = "配套产品名称")
    @ImpAnnotation(description = "配套产品名称")
    private String supportingProductsName;
    /**
     * 奖惩分配比例
     */
    @ExpAnnotation(description = "奖惩分配比例")
    @ImpAnnotation(description = "奖惩分配比例",isRequired = true)
    private BigDecimal rewardsAllocationProportion;

    @Override
    public String toString() {
        return "WRewardsMoneyAllocation{" +
                "id='" + id + '\'' +
                ", refId='" + refId + '\'' +
                ", rewardsUnitName='" + rewardsUnitName + '\'' +
                ", rewardsUnitCodeName='" + rewardsUnitCodeName + '\'' +
                ", unitCategory='" + unitCategory + '\'' +
                ", supportingRelationshipLevel='" + supportingRelationshipLevel + '\'' +
                ", supportingProductsName='" + supportingProductsName + '\'' +
                ", rewardsAllocationProportion='" + rewardsAllocationProportion + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRefId() {
        return refId;
    }

    public void setRefId(String refId) {
        this.refId = refId;
    }

    public String getRewardsUnitName() {
        return rewardsUnitName;
    }

    public void setRewardsUnitName(String rewardsUnitName) {
        this.rewardsUnitName = rewardsUnitName;
    }

    public String getUnitCategory() {
        return unitCategory;
    }

    public void setUnitCategory(String unitCategory) {
        this.unitCategory = unitCategory;
    }

    public String getSupportingRelationshipLevel() {
        return supportingRelationshipLevel;
    }

    public void setSupportingRelationshipLevel(String supportingRelationshipLevel) {
        this.supportingRelationshipLevel = supportingRelationshipLevel;
    }

    public String getSupportingProductsName() {
        return supportingProductsName;
    }

    public void setSupportingProductsName(String supportingProductsName) {
        this.supportingProductsName = supportingProductsName;
    }

    public BigDecimal getRewardsAllocationProportion() {
        return rewardsAllocationProportion;
    }

    public void setRewardsAllocationProportion(BigDecimal rewardsAllocationProportion) {
        this.rewardsAllocationProportion = rewardsAllocationProportion;
    }

    public String getRewardsUnitCodeName() {
        return rewardsUnitCodeName;
    }

    public void setRewardsUnitCodeName(String rewardsUnitCodeName) {
        this.rewardsUnitCodeName = rewardsUnitCodeName;
    }
}
